<%--
  Created by IntelliJ IDEA.
  User: sunhao
  Date: 2015/10/8 0008
  Time: 下午 3:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>

<html>
<head>
    <title>教师信息</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <%--<script>--%>
    <%--$(function () {--%>
    <%--$("#registerTime").text(cxDate('YYYY-MM-DD', '${user.registerTime}'))--%>
    <%--})--%>
    <%--</script>--%>
    <%--<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">--%>
    <link href="/static/bui/css/bs3/dpl.css" rel="stylesheet" type="text/css"/>
    <link href="/static/bui/css/bs3/bui.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="container">
    <div class="detail-page">
        <h2>学生信息</h2>

        <div class="detail-section">
            <h3>基本信息</h3>

            <div class="row detail-row">
                <div class="span8">
                    <label>教师姓名：</label><span class="detail-text">${teacher.name}</span>
                </div>
                <div class="span8">
                    <label>电话：</label><span class="detail-text">${teacher.phone}</span>
                </div>
                <div class="span8">
                    <label id="lessons">教授课程：</label>
                    <span class="detail-text">
                        <c:forEach items="${teacher.teach}" var="pr">
                            ${pr.name},
                        </c:forEach>
                    </span>
                </div>
            </div>
            <div class="row detail-row">
                <div class="span8">
                    <label>支付宝：</label><span class="detail-text">${teacher.alipay}</span>
                </div>
                <div class="span8">
                    <label>银行账户：</label><span class="detail-text">${teacher.bank_num}</span>
                </div>
            </div>

            <input type="button" value="返回教师列表" onclick="javascript:location.href='/student/list.do'"/>
        </div>
    </div>
    <script type="text/javascript" src="/static/bui/js/jquery-1.8.1.min.js"></script>
    <script type="text/javascript" src="/static/bui/js/bui.js"></script>
    <script type="text/javascript" src="/static/bui/js/config.js"></script>
    <script type="text/javascript" src="/static/js/cxdate.js"></script>

</div>
</body>
</html>
